home *** CD-ROM | disk | FTP | other *** search
- /* %filename% -- subwindow methods */
- /* Created %date% %time% by AppMaker */
-
- /* We recommend that you not modify this module and instead modify */
- /* its subclass, %WindName%. The 'z' prefix on this module marks% %*/
- /* a module which is likely to be regenerated by AppMaker after you */
- /* make changes to the user interface. The modules without the 'z' */
- /* prefix will not be regenerated by AppMaker unless you delete them. */
- /* Using a separate subclass to override the AppMaker-generated code */
- /* lets you regenerate code without losing your hand-coded changes. */
-
- #include <Commands.h>
- #include <CBartender.h>
- #include <CWindow.h>
- #include <CSizeBox.h>
- %for each item gen include%
- #include "z%WindName%.h"
-
- extern CDesktop *gDesktop;
- extern CBartender *gBartender;
-
- #define %WindName%ID %rsrcID%
-
- /*----------*/
- void Z%WindName%::IZ%WindName% (CDirectorOwner *aSupervisor)
- {
- CView *enclosure;
- CBureaucrat *supervisor;
- CSizeBox *aSizeBox;
-
- inherited::IDirector (aSupervisor);
-
- itsWindow = new CWindow;
- %if procID = 3200%
- itsWindow->IWindow (%WindName%ID, TRUE, gDesktop, this); // floating
- %else%
- itsWindow->IWindow (%WindName%ID, FALSE, gDesktop, this);
- %endif%
-
- enclosure = itsWindow;
- supervisor = this;
-
- %for each item gen create%
-
- %if has growBox%
- aSizeBox = new CSizeBox;
- aSizeBox->ISizeBox (enclosure, supervisor);
- %endif%
-
- } /* IZ%WindName% */
-
- %for each item gen zAuxiliaryMethod%
- /*----------*/
- void Z%WindName%::DoCommand (long theCommand)
- {
- switch (theCommand) {
-
- default:
- inherited::DoCommand (theCommand);
- break;
- } /* switch */
-
- } /* DoCommand */
-
- /* %filename% */
-